package org.hbhk.hxl.gateway.services;

import java.util.List;

import org.hbhk.hxl.gateway.model.Circuitbreaker;
import org.hbhk.hxl.gateway.model.HttpService;
import org.hbhk.hxl.gateway.model.Isolation;

import com.google.common.util.concurrent.RateLimiter;

public interface IGatewayService {

	HttpService getHttpService(String url);

	List<String> getDisableNode(String url);

	Circuitbreaker getBreaker(String url);

	Isolation getIsolation(String url);

	RateLimiter getRateLimit(String url);

	List<String> getNode(String app);

	List<String> getGrayNode(String app);

	String getApp(String url);

	Integer getCacheUrl(String url);

	void reset(String msg);

}
